package com.bsj.sipgateway.mysql.report.commandissued.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author wph
 * @since 2022-08-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("commandissued")
public class Commandissued implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 命令ID
     */
      @TableId("uuid")
    private String uuid;

    /**
     * 车牌号
     */
    @TableField("plate")
    private String plate;

    /**
     * 操作车辆
     */
    @TableField("vehicleId")
    private Long vehicleId;

    /**
     * 车组ID
     */
    @TableField("groupId")
    private Integer groupId;

    /**
     * 操作用户姓名
     */
    @TableField("userName")
    private String userName;

    @TableField("createTime")
    private LocalDateTime createTime;

    /**
     * 命令下发信息
     */
    @TableField("CommandMsg")
    private String CommandMsg;

    /**
     * 命令类型
     */
    @TableField("CommandId")
    private Integer CommandId;

    /**
     * 更新时间
     */
    @TableField("updateTime")
    private LocalDateTime updateTime;

    /**
     * 下发状态
     */
    @TableField("result")
    private String result;

    /**
     * 下发结果详细信息
     */
    @TableField("resultMsg")
    private String resultMsg;


    public Commandissued(String uuid, String plate, Long vehicleId, Integer groupId, String userName, String commandMsg, Integer commandId) {
        this.uuid = uuid;
        this.plate = plate;
        this.vehicleId = vehicleId;
        this.groupId = groupId;
        this.userName = userName;
        this.CommandMsg = commandMsg;
        this.CommandId = commandId;
    }
}
